init()
{
	level.xenon = false;
	level.mapname = getcvar("mapname");
	level.gametype = getcvar("g_gametype");
	level.exiting_map = false;
	
	if(!isDefined(game["gamestarted"]))
	{
		[[level.setdvar]]("sv_pure", 1, 0, 1);
		
		// Precache
		maps\mp\gametypes\_precache::precache();

		//[BP] halftime switch; leave this in here
		game["Team_1_Score"] = 0;
		game["Team_2_Score"] = 0;
		game["halftimeflag"] = 0;
		game["alliedscore"] = 0;
		game["axisscore"] = 0;
	}
	
	// FPS Monitor
	// maps\mp\gametypes\_sv_fps::init();
	
	// Allies Side Selector
	level.allies_teamsetting = [[level.setdvar]]("bp_allies", "default");
	level.roundcam_attkid 	= -1;
	
	switch(level.allies_teamsetting) {
		case "american":
			game["allies"] = "american"; 	break;
		case "british":
			game["allies"] = "british"; 	break;
		case "russian":
			game["allies"] = "russian";		break;
	}
	
	// [BP] Map Setup
	maps\mp\gametypes\_bpmod_setup::map_setup();
	
	// Match Start Setup
	if (!isDefined(game["matchstarted"]))
		game["matchstarted"] = false;
		
	switch(level.gametype)
	{
		case "ctf":
			get_ctf_variables(); break;
		case "rctf":
			get_rctf_variables(); break;
		case "dm":
			break;
		case "hq":
			get_hq_variables(); break;
		case "lts":
			get_lts_variables(); break;
		case "sd":
			get_sd_variables(); break;
		case "tdm":
			break;
		case "vip":
			get_vip_variables(); break;
		case "re":
			get_re_variables(); break;
	}
	
	// Match Start Setup
	if (!isDefined(game["matchstarted"]))
		game["matchstarted"] = false;
	
	level.autodl = newHudElem(); 
	level.autodl.x = 0; 
	level.autodl.y = 0; 
	level.autodl.alignX = "left"; 
	level.autodl.alignY = "top"; 
	level.autodl.horzAlign = "fullscreen";
	level.autodl.vertAlign = "fullscreen";
	level.autodl.sort = -25000; 
	level.autodl.archived = false; 
	level.autodl.alpha = 1;
	level.autodl setShader("hud_autodl", 640,480);

	
	// HUD Stuff
	level.fadeammo			= [[level.setdvar]]("bp_allow_fadeammo", 0, 0, 1);
	level.deathicon 		= [[level.setdvar]]("bp_allow_deathicon", 1, 0, 1);
	level.grenadeicon 		= [[level.setdvar]]("bp_allow_grenadeicon", 1, 0, 1);
	level.allow_hitblip 	= [[level.setdvar]]("bp_allow_hitblip", 1, 0, 1);
	level.allow_modtext		= [[level.setdvar]]("bp_allow_modtext", 1, 0, 1);
	level.objectiveicon 	= [[level.setdvar]]("bp_allow_objectiveicon", 1, 0, 1);
	
	// Health Bar, Regen, & Healthpacks
	level.regen_model 						= [[level.setdvar]]("bp_allow_healthregen", 1, 0, 4); // Was 0 - 4 
	level.healthbarHUD 						= [[level.setdvar]]("bp_show_healthbar", 0, 0, 1);
	level.healthbarFadeHUD					= [[level.setdvar]]("bp_fade_healthbar", 0, 0, 1);
	level.playerHealth_RegularRegenDelay 	= [[level.setdvar]]("bp_regendelay", 5000, 0, 30000);
	level.regen_per_sec						= [[level.setdvar]]("bp_regenpersec", 2, 1, 20);
	thread maps\mp\gametypes\_healthbar::init();
	
	// Time Remaining
	level.timeremainHUD		= [[level.setdvar]]("bp_allow_timeremaining", 1, 0, 1);
	
	// Spawn Protection
	level.spawnprotection = [[level.setdvar]]("bp_spawnprotection", 1, 0, 1);
	level.spawnprotectduration = [[level.setdvar]]("bp_spawnprotection_duration", 1, 0, 10);
	
	// Switch attackers
	level.switch_attackers 	= [[level.setdvar]]("bp_switch_attackers", 0, 0, 4);
	
	// ShellShock
	level.allow_shellshock = [[level.setdvar]]("bp_allow_shellshock", 1, 0, 1);
	
	// Death Sounds
	level.allow_deathsounds	= [[level.setdvar]]("bp_allow_deathsounds", 1, 0, 1);
	level.deathsounds_chance =	[[level.setdvar]]("bp_deathsounds_chance", 200, 1, 200);

	// Fall Damage Heights
	min = [[level.setdvar]]("bp_fallDamageMinHeight", 21, 0, 40);
	max = [[level.setdvar]]("bp_fallDamageMaxHeight", 40, min, 60);
	min = int(min * 12);
	max = int(max * 12);
	setcvar("bg_fallDamageMaxHeight", max);
	setcvar("bg_fallDamageMinHeight", min);
	
	// Setup Weapons
	maps\mp\gametypes\_start_gametype::setup_weapons();
	
	// Cooked Nades
	level.allow_alliedcnades 	= [[level.setdvar]]("bp_allies_cooked_nades", 0, 0, 1);
	level.allow_axiscnades 		= [[level.setdvar]]("bp_axis_cooked_nades", 0, 0, 1);
	
	// Weapon Drops Dvars
	level.allow_weapondrops		= [[level.setdvar]]("bp_allow_weapondrop", 0, 0, 1);
	level.allow_autodrops 		= [[level.setdvar]]("bp_allow_weapondrop_auto", 1, 0, 1);
	level.allow_nadedrops 		= [[level.setdvar]]("bp_allow_weapondrop_nade", 1, 0, 1);
	level.allow_sniperdrops 	= [[level.setdvar]]("bp_allow_weapondrop_sniper", 1, 0, 1);
	level.allow_shotgundrops 	= [[level.setdvar]]("bp_allow_weapondrop_shotgun", 1, 0, 1);
	level.allow_secondarydrop 	= [[level.setdvar]]("bp_allow_secondarydrop", 0, 0, 1);
	level.allow_keepweapons		= [[level.setdvar]]("bp_allow_keepweapons", 0, 0, 1);
	
	// Single Shot Kills
	level.prevent_single_shot_pistol = [[level.setdvar]]("bp_prevent_pistolhs", 0, 0, 1);
	level.prevent_single_shot_ppsh = [[level.setdvar]]("bp_prevent_ppshhs", 0, 0, 1);

	//ppsh -> tommy balance
	level.balance_ppsh = [[level.setdvar]]("bp_balance_ppsh", 0, 0, 1);

	// Misc Weapons
	level.allow_pistols	= [[level.setdvar]]("bp_allow_pistols", 1, 0, 1);
	level.allow_turrets = [[level.setdvar]]("bp_allow_turrets", 1, 0, 1);
	
	// Kill AFKs
	level.kill_afks	= [[level.setdvar]]("bp_killafks", 0, 0, 1);
	level.kill_afks_time = [[level.setdvar]]("bp_killafkstime", 50, 0, 120);

	// Setup Weapon Limits
	maps\mp\gametypes\_weapon_limiter::Update_All_Weapon_Limits();

	// Weapon Switch Monitor
	if (!level.allow_sniperdrops || !level.allow_shotgundrops || !level.allow_autodrops)
		level thread maps\mp\gametypes\_weapon_drop::Weapon_Switch_Monitor_Setup();
		
	// Attacker Switch
	maps\mp\gametypes\_attackerswitch::main();
	
	// Clientside DVAR Enforcer Startup
	thread maps\mp\gametypes\_clientdvar_enforcer::init();
	
	// Allchat Enforcer Startup
	level.allow_allchat = [[level.setdvar]]("bp_allow_allchat", 1, 0, 1);
	thread maps\mp\gametypes\_allchat_enforcer::init();
	
	// Admin Tools
	level.enable_admintools= [[level.setdvar]]("bp_enable_admintools", 1, 1, 1);
	if(level.enable_admintools)
		thread maps\mp\gametypes\_admin_tools::init();
	
	// [BP] Mod Text
	if(level.allow_modtext)
		maps\mp\gametypes\_modversion::display_modtext();
}

get_sd_variables() 
{
	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

get_lts_variables() 
{
	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

get_ctf_variables() 
{
	level.tacticalCTF = [[level.setdvar]]("bp_tacticalCTF", 0, 0, 1);
	level.do_halftime = [[level.setdvar]]("bp_CTF_halftime", 0, 0, 1);

	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

get_rctf_variables() 
{
	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

get_hq_variables() 
{
	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

get_vip_variables()
{
	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

get_re_variables()
{
	// Players Left Start-Up (Disable for TDM & DM)
	level.hud_playersleft = [[level.setdvar]]("bp_playersleft", 1, 0, 1);
	thread maps\mp\gametypes\_players_left::init();
}

deathSounds()
{
	chance = randomint(level.deathsounds_chance);
	if(chance != 0) 
		return;
		
	if(self.pers["team"] == game["axis"]) 
		nationality = "german";
	else 
		nationality = game["allies"];
	
	switch(nationality)
	{
		case "german":
			choose = randomint(3) + 1; break;
		case "american":
			choose = randomint(7) + 1; break;
		default:
			choose = randomint(6) + 1; 
	}
	
	self playSound("generic_death_" + nationality + "_" + choose);
}

// For non-Round-based only!
checkMatchStart() // [BP] Modified
{
	if (!isDefined(game["matchstarted"]))
		game["matchstarted"] = false;

	//level.warmup = 1;

	//Check to see if we even have 2 teams to start
	level.exist["teams"] = 0;

	while(!level.exist["teams"])
	{
		level.exist["allies"] = 0;
		level.exist["axis"] = 0;

		players = getentarray("player", "classname");
		for(i = 0; i < players.size; i++)
		{
			player = players[i];
			
			if(isDefined(player.pers["team"]) && player.pers["team"] != "spectator" && player.sessionstate == "playing")
				level.exist[player.pers["team"]]++;
		}

		if (level.exist["allies"] && level.exist["axis"])
			level.exist["teams"] = 1;

		wait level.fps_multiplier * 1;
	}

	game["matchstarted"] = true;

	iprintln(&"MP_MATCHSTARTING");
	map_restart(true);
}


delayStart()
{
	/*level endon("end_gamestart_delay");
	
	if(level.gametype == "sd" || level.gametype == "lts")
		level endon("round_ended"); */
	
	// Turn On Allchat
	setcvar("bp_allow_allchat", 1);
	
	if(game["start_delay"] == 0)
	{
			// Turn OFF Allchat
			setcvar("bp_allow_allchat", 0);
			
			level.starttime = getTime();
			game["timepassed"] = 0;
			game["live"] = true;
			
			map_restart(true);
			return;
	}
	
	level.go_live_clock = newHudElem();
	level.go_live_clock.horzAlign = "center";
	level.go_live_clock.vertAlign = "middle";
	level.go_live_clock.x = 20;
	level.go_live_clock.y = -25;
	level.go_live_clock.font = "default";
	level.go_live_clock.fontscale = 1;
	level.go_live_clock.color = (.984, .996, .078);
	level.go_live_clock setTimer(game["start_delay"]);
	
	level.go_live_text = newHudElem();
	level.go_live_text.horzAlign = "center";
	level.go_live_text.vertAlign = "middle";
	level.go_live_text.x = -20;
	level.go_live_text.y = -25;
	level.go_live_text.font = "default";
	level.go_live_text.fontscale = 1;
	level.go_live_text setText(game["going_live"]);
	
	wait (game["start_delay"]);
	
	// resetEverything();
	
	// get rid of warmup weapons
	/*
	players = getentarray("player", "classname");
	for(i = 0; i < players.size; i++)
	{ 
		//drop other weapons
		player = players[i];

		player.pers["weapon1"] = undefined;
		player.pers["weapon2"] = undefined;
		player setWeaponSlotWeapon("primaryb", "none");
		player maps\mp\gametypes\_weapons::givePistol();
		player.pers["spawnweapon"] = player.pers["selectedweapon"];

		player unlink();
	} */
	
	level.starttime = getTime();
	game["timepassed"] = 0;
	
	game["live"] = true;
	level.go_live_clock destroy();
	level.go_live_text destroy();
	
	// Turn OFF Allchat
	setcvar("bp_allow_allchat", 0);
	
	
	/*
	switch(level.gametype)
	{
		case "ctf":
			//maps\mp\gametypes\ctf::Callback_StartGameType();
			//maps\mp\gametypes\ctf::startGame(); 
			//respawnPlayers();
			ctf_resetup();
			break;
		case "dm":
			//maps\mp\gametypes\dm::checkMatchStart(); 
			break;
		case "hq":
			//maps\mp\gametypes\hq::checkMatchStart(); 
			break;
		case "lts":
			maps\mp\gametypes\lts::checkMatchStart(); break;
		case "sd":
			maps\mp\gametypes\sd::checkMatchStart(); break;
		case "tdm":
			//maps\mp\gametypes\tdm::checkMatchStart(); 
			break;
			
	}*/
	
	map_restart(true);
}


// Setup All of Our Weapons
setup_weapons()
{
	// Setup Weapons
	level.weaponnames = [];
	
	level.weaponnames[0] 	= "greasegun_mp";
	level.weaponnames[1] 	= "m1carbine_mp";
	level.weaponnames[2] 	= "m1garand_mp";
	level.weaponnames[3] 	= "springfield_mp";
	level.weaponnames[4] 	= "unscoped_springfield_mp";							
	level.weaponnames[5] 	= "thompson_mp";
	level.weaponnames[6] 	= "bar_mp";
	level.weaponnames[7] 	= "sten_mp";
	level.weaponnames[8] 	= "enfield_mp";
	level.weaponnames[9] 	= "enfield_scope_mp";
	level.weaponnames[10] 	= "bren_mp";
	level.weaponnames[11] 	= "PPS42_mp";
	level.weaponnames[12] 	= "mosin_nagant_mp";
	level.weaponnames[13] 	= "SVT40_mp";
	level.weaponnames[14] 	= "mosin_nagant_sniper_mp";
	level.weaponnames[15] 	= "ppsh_mp";
	level.weaponnames[16] 	= "mp40_mp";
	level.weaponnames[17] 	= "kar98k_mp";
	level.weaponnames[18] 	= "g43_mp";
	level.weaponnames[19] 	= "kar98k_sniper_mp";
	level.weaponnames[20] 	= "mp44_mp";
	level.weaponnames[21] 	= "shotgun_mp";
	level.weaponnames[22] 	= "allied_shotgun_mp";
	level.weaponnames[23] 	= "allied_sf_shotgun_mp";
	level.weaponnames[24] 	= "axis_shotgun_mp";
	level.weaponnames[25] 	= "axis_sf_shotgun_mp";
	level.weaponnames[26] 	= "cooked_grenade_american_mp";
	level.weaponnames[27] 	= "cooked_grenade_british_mp";
	level.weaponnames[28] 	= "cooked_grenade_russian_mp";
	level.weaponnames[29] 	= "cooked_grenade_german_mp";
	level.weaponnames[30] 	= "fraggrenade";
	level.weaponnames[31] 	= "smokegrenade";
	level.weaponnames[32]	= "smoke_grenade_vip_mp";


	// American Weapons
	level.weapons = [];
	level.weapons["greasegun_mp"] = spawnstruct();
	level.weapons["greasegun_mp"].server_allowcvar 	= "scr_allow_greasegun";
	level.weapons["greasegun_mp"].client_allowcvar 	= "ui_allow_greasegun";
	level.weapons["greasegun_mp"].allow_default 	= 1;
	level.weapons["greasegun_mp"].classname 		= "smg";
	level.weapons["greasegun_mp"].team 				= "allies";
	level.weapons["greasegun_mp"].clipsize			= 30;
	level.weapons["greasegun_mp"].limited			= 0;
	level.weapons["greasegun_mp"].count				= 0;
	level.weapons["greasegun_mp"].amount			= [[level.setdvar]]("bp_greasegun_clip", 15, 0, 15);
	level.weapons["greasegun_mp"].limit				= [[level.setdvar]]("bp_greasegun_limit", 50, 0, 50);
	level.weapons["greasegun_mp"].nades				= [[level.setdvar]]("bp_nade_greasegun", 1, 0, 3);
	level.weapons["greasegun_mp"].smokes			= [[level.setdvar]]("bp_smoke_greasegun", 0, 0, 1);	
	

	level.weapons["m1carbine_mp"] = spawnstruct();
	level.weapons["m1carbine_mp"].server_allowcvar 	= "scr_allow_m1carbine";
	level.weapons["m1carbine_mp"].client_allowcvar 	= "ui_allow_m1carbine";
	level.weapons["m1carbine_mp"].allow_default 	= 1;
	level.weapons["m1carbine_mp"].classname 		= "semiautomatic";
	level.weapons["m1carbine_mp"].team 				= "allies";
	level.weapons["m1carbine_mp"].clipsize			= 15;
	level.weapons["m1carbine_mp"].limited			= 0;
	level.weapons["m1carbine_mp"].count				= 0;
	level.weapons["m1carbine_mp"].amount			= [[level.setdvar]]("bp_m1carbine_clip", 15, 0, 15);
	level.weapons["m1carbine_mp"].limit				= [[level.setdvar]]("bp_m1carbine_limit", 50, 0, 50);
	level.weapons["m1carbine_mp"].nades				= [[level.setdvar]]("bp_nade_m1carbine", 1, 0, 3);
	level.weapons["m1carbine_mp"].smokes			= [[level.setdvar]]("bp_smoke_m1carbine", 0, 0, 1);

	level.weapons["m1garand_mp"] = spawnstruct();
	level.weapons["m1garand_mp"].server_allowcvar 	= "scr_allow_m1garand";
	level.weapons["m1garand_mp"].client_allowcvar 	= "ui_allow_m1garand";
	level.weapons["m1garand_mp"].allow_default 		= 1;
	level.weapons["m1garand_mp"].classname 			= "semiautomatic";
	level.weapons["m1garand_mp"].team 				= "allies";
	level.weapons["m1garand_mp"].clipsize			= 8;
	level.weapons["m1garand_mp"].limited			= 0;
	level.weapons["m1garand_mp"].count				= 0;
	level.weapons["m1garand_mp"].amount				= [[level.setdvar]]("bp_m1garand_clip", 15, 0, 15);
	level.weapons["m1garand_mp"].limit				= [[level.setdvar]]("bp_m1garand_limit", 50, 0, 50);
	level.weapons["m1garand_mp"].nades				= [[level.setdvar]]("bp_nade_m1garand", 1, 0, 3);
	level.weapons["m1garand_mp"].smokes				= [[level.setdvar]]("bp_smoke_m1garand", 0, 0, 1);


	level.weapons["springfield_mp"] = spawnstruct();
	level.weapons["springfield_mp"].server_allowcvar 	= "scr_allow_springfield";
	level.weapons["springfield_mp"].client_allowcvar 	= "ui_allow_springfield";
	level.weapons["springfield_mp"].allow_default 		= 1;
	level.weapons["springfield_mp"].classname 			= "sniper";
	level.weapons["springfield_mp"].team 				= "allies";
	level.weapons["springfield_mp"].clipsize			= 5;
	level.weapons["springfield_mp"].limited				= 0;
	level.weapons["springfield_mp"].count				= 0;
	level.weapons["springfield_mp"].amount				= [[level.setdvar]]("bp_springfield_clip", 15, 0, 15);
	level.weapons["springfield_mp"].limit				= [[level.setdvar]]("bp_springfield_limit", 50, 0, 50);
	level.weapons["springfield_mp"].nades				= [[level.setdvar]]("bp_nade_springfield", 1, 0, 3);
	level.weapons["springfield_mp"].smokes				= [[level.setdvar]]("bp_smoke_springfield", 0, 0, 1);
	
	level.weapons["unscoped_springfield_mp"] = spawnstruct();
	level.weapons["unscoped_springfield_mp"].server_allowcvar 	= "scr_allow_unscoped_springfield";
	level.weapons["unscoped_springfield_mp"].client_allowcvar 	= "ui_allow_unscoped_springfield";
	level.weapons["unscoped_springfield_mp"].allow_default 		= 1;
	level.weapons["unscoped_springfield_mp"].classname 			= "boltaction";
	level.weapons["unscoped_springfield_mp"].team 				= "allies";
	level.weapons["unscoped_springfield_mp"].clipsize			= 5;
	level.weapons["unscoped_springfield_mp"].limited			= 0;
	level.weapons["unscoped_springfield_mp"].count				= 0;
	level.weapons["unscoped_springfield_mp"].amount				= [[level.setdvar]]("bp_unscoped_springfield_clip", 15, 0, 15);
	level.weapons["unscoped_springfield_mp"].limit				= [[level.setdvar]]("bp_unscoped_springfield_limit", 50, 0, 50);
	level.weapons["unscoped_springfield_mp"].nades				= [[level.setdvar]]("bp_nade_unscoped_springfield", 1, 0, 3);
	level.weapons["unscoped_springfield_mp"].smokes				= [[level.setdvar]]("bp_smoke_unscoped_springfield", 0, 0, 1);

	level.weapons["thompson_mp"] = spawnstruct();
	level.weapons["thompson_mp"].server_allowcvar 	= "scr_allow_thompson";
	level.weapons["thompson_mp"].client_allowcvar 	= "ui_allow_thompson";
	level.weapons["thompson_mp"].allow_default 		= 1;
	level.weapons["thompson_mp"].classname			= "smg";
	level.weapons["thompson_mp"].team 				= "allies";
	level.weapons["thompson_mp"].clipsize			= 20;
	level.weapons["thompson_mp"].limited			= 0;
	level.weapons["thompson_mp"].count				= 0;
	level.weapons["thompson_mp"].amount				= [[level.setdvar]]("bp_thompson_clip", 15, 0, 15);
	level.weapons["thompson_mp"].limit				= [[level.setdvar]]("bp_thompson_limit", 50, 0, 50);
	level.weapons["thompson_mp"].nades				= [[level.setdvar]]("bp_nade_thompson", 1, 0, 3);
	level.weapons["thompson_mp"].smokes				= [[level.setdvar]]("bp_smoke_thompson", 0, 0, 1);

	level.weapons["bar_mp"] = spawnstruct();
	level.weapons["bar_mp"].server_allowcvar 	= "scr_allow_bar";
	level.weapons["bar_mp"].client_allowcvar 	= "ui_allow_bar";
	level.weapons["bar_mp"].allow_default 		= 1;
	level.weapons["bar_mp"].classname 			= "mg";
	level.weapons["bar_mp"].team 				= "allies";
	level.weapons["bar_mp"].clipsize			= 20;
	level.weapons["bar_mp"].limited				= 0;
	level.weapons["bar_mp"].count				= 0;
	level.weapons["bar_mp"].amount				= [[level.setdvar]]("bp_bar_clip", 15, 0, 15);
	level.weapons["bar_mp"].limit				= [[level.setdvar]]("bp_bar_limit", 50, 0, 50);
	level.weapons["bar_mp"].nades				= [[level.setdvar]]("bp_nade_bar", 1, 0, 3);
	level.weapons["bar_mp"].smokes				= [[level.setdvar]]("bp_smoke_bar", 0, 0, 1);

	// British Weapons
	level.weapons["sten_mp"] = spawnstruct();
	level.weapons["sten_mp"].server_allowcvar 	= "scr_allow_sten";
	level.weapons["sten_mp"].client_allowcvar 	= "ui_allow_sten";
	level.weapons["sten_mp"].allow_default 		= 1;
	level.weapons["sten_mp"].classname 			= "smg";
	level.weapons["sten_mp"].team 				= "allies";
	level.weapons["sten_mp"].clipsize			= 32;
	level.weapons["sten_mp"].limited			= 0;
	level.weapons["sten_mp"].count				= 0;
	level.weapons["sten_mp"].amount				= [[level.setdvar]]("bp_sten_clip", 15, 0, 15);
	level.weapons["sten_mp"].limit				= [[level.setdvar]]("bp_sten_limit", 50, 0, 50);
	level.weapons["sten_mp"].nades				= [[level.setdvar]]("bp_nade_sten", 1, 0, 3);
	level.weapons["sten_mp"].smokes				= [[level.setdvar]]("bp_smoke_sten", 0, 0, 1);

	level.weapons["enfield_mp"] = spawnstruct();
	level.weapons["enfield_mp"].server_allowcvar 	= "scr_allow_enfield";
	level.weapons["enfield_mp"].client_allowcvar 	= "ui_allow_enfield";
	level.weapons["enfield_mp"].allow_default 		= 1;
	level.weapons["enfield_mp"].classname 			= "boltaction";
	level.weapons["enfield_mp"].team 				= "allies";
	level.weapons["enfield_mp"].clipsize			= 10;
	level.weapons["enfield_mp"].limited				= 0;
	level.weapons["enfield_mp"].count				= 0;
	level.weapons["enfield_mp"].amount				= [[level.setdvar]]("bp_enfield_clip", 15, 0, 15);
	level.weapons["enfield_mp"].limit				= [[level.setdvar]]("bp_enfield_limit", 50, 0, 50);
	level.weapons["enfield_mp"].nades				= [[level.setdvar]]("bp_nade_enfield", 1, 0, 3);
	level.weapons["enfield_mp"].smokes				= [[level.setdvar]]("bp_smoke_enfield", 0, 0, 1);

	level.weapons["enfield_scope_mp"] = spawnstruct();
	level.weapons["enfield_scope_mp"].server_allowcvar 	= "scr_allow_enfieldsniper";
	level.weapons["enfield_scope_mp"].client_allowcvar 	= "ui_allow_enfieldsniper";
	level.weapons["enfield_scope_mp"].allow_default 	= 1;
	level.weapons["enfield_scope_mp"].classname 		= "sniper";
	level.weapons["enfield_scope_mp"].team 				= "allies";
	level.weapons["enfield_scope_mp"].clipsize			= 10;
	level.weapons["enfield_scope_mp"].limited			= 0;
	level.weapons["enfield_scope_mp"].count				= 0;
	level.weapons["enfield_scope_mp"].amount			= [[level.setdvar]]("bp_enfield_scope_clip", 15, 0, 15);
	level.weapons["enfield_scope_mp"].limit				= [[level.setdvar]]("bp_enfield_scope_limit", 50, 0, 50);
	level.weapons["enfield_scope_mp"].nades				= [[level.setdvar]]("bp_nade_enfield_scope", 1, 0, 3);
	level.weapons["enfield_scope_mp"].smokes			= [[level.setdvar]]("bp_smoke_enfield_scope", 0, 0, 1);

	level.weapons["bren_mp"] = spawnstruct();
	level.weapons["bren_mp"].server_allowcvar 	= "scr_allow_bren";
	level.weapons["bren_mp"].client_allowcvar	= "ui_allow_bren";
	level.weapons["bren_mp"].allow_default 		= 1;
	level.weapons["bren_mp"].classname 			= "mg";
	level.weapons["bren_mp"].team 				= "allies";
	level.weapons["bren_mp"].clipsize			= 30;
	level.weapons["bren_mp"].limited			= 0;
	level.weapons["bren_mp"].count				= 0;
	level.weapons["bren_mp"].amount				= [[level.setdvar]]("bp_bren_clip", 15, 0, 15);
	level.weapons["bren_mp"].limit				= [[level.setdvar]]("bp_bren_limit", 50, 0, 50);
	level.weapons["bren_mp"].nades				= [[level.setdvar]]("bp_nade_bren", 1, 0, 3);
	level.weapons["bren_mp"].smokes				= [[level.setdvar]]("bp_smoke_bren", 0, 0, 1);

	// Russian Weapons
	level.weapons["PPS42_mp"] = spawnstruct();
	level.weapons["PPS42_mp"].server_allowcvar 	= "scr_allow_pps42";
	level.weapons["PPS42_mp"].client_allowcvar 	= "ui_allow_pps42";
	level.weapons["PPS42_mp"].allow_default 	= 1;
	level.weapons["PPS42_mp"].classname 		= "smg";
	level.weapons["PPS42_mp"].team 				= "allies";
	level.weapons["PPS42_mp"].clipsize			= 35;
	level.weapons["PPS42_mp"].limited			= 0;
	level.weapons["PPS42_mp"].count				= 0;
	level.weapons["PPS42_mp"].amount			= [[level.setdvar]]("bp_PPS42_clip", 15, 0, 15);
	level.weapons["PPS42_mp"].limit				= [[level.setdvar]]("bp_PPS42_limit", 50, 0, 50);
	level.weapons["PPS42_mp"].nades				= [[level.setdvar]]("bp_nade_PPS42", 1, 0, 3);
	level.weapons["PPS42_mp"].smokes			= [[level.setdvar]]("bp_smoke_PPS42", 0, 0, 1);	

	level.weapons["mosin_nagant_mp"] = spawnstruct();
	level.weapons["mosin_nagant_mp"].server_allowcvar 	= "scr_allow_nagant";
	level.weapons["mosin_nagant_mp"].client_allowcvar 	= "ui_allow_nagant";
	level.weapons["mosin_nagant_mp"].allow_default 		= 1;
	level.weapons["mosin_nagant_mp"].classname 			= "boltaction";
	level.weapons["mosin_nagant_mp"].team 				= "allies";
	level.weapons["mosin_nagant_mp"].clipsize			= 5;
	level.weapons["mosin_nagant_mp"].limited			= 0;
	level.weapons["mosin_nagant_mp"].count				= 0;
	level.weapons["mosin_nagant_mp"].amount				= [[level.setdvar]]("bp_mosin_nagant_clip", 15, 0, 15);
	level.weapons["mosin_nagant_mp"].limit				= [[level.setdvar]]("bp_mosin_nagant_limit", 50, 0, 50);
	level.weapons["mosin_nagant_mp"].nades				= [[level.setdvar]]("bp_nade_mosin_nagant", 1, 0, 3);
	level.weapons["mosin_nagant_mp"].smokes				= [[level.setdvar]]("bp_smoke_mosin_nagant", 0, 0, 1);
	
	level.weapons["SVT40_mp"] = spawnstruct();
	level.weapons["SVT40_mp"].server_allowcvar 	= "scr_allow_svt40";
	level.weapons["SVT40_mp"].client_allowcvar 	= "ui_allow_svt40";
	level.weapons["SVT40_mp"].allow_default 	= 1;
	level.weapons["SVT40_mp"].classname 		= "semiautomatic";
	level.weapons["SVT40_mp"].team 				= "allies";
	level.weapons["SVT40_mp"].clipsize			= 10;
	level.weapons["SVT40_mp"].limited			= 0;
	level.weapons["SVT40_mp"].count				= 0;
	level.weapons["SVT40_mp"].amount			= [[level.setdvar]]("bp_SVT40_clip", 15, 0, 15);
	level.weapons["SVT40_mp"].limit				= [[level.setdvar]]("bp_SVT40_limit", 50, 0, 50);
	level.weapons["SVT40_mp"].nades				= [[level.setdvar]]("bp_nade_SVT40", 1, 0, 3);
	level.weapons["SVT40_mp"].smokes			= [[level.setdvar]]("bp_smoke_SVT40", 0, 0, 1);
	
	level.weapons["mosin_nagant_sniper_mp"] = spawnstruct();
	level.weapons["mosin_nagant_sniper_mp"].server_allowcvar 	= "scr_allow_nagantsniper";
	level.weapons["mosin_nagant_sniper_mp"].client_allowcvar 	= "ui_allow_nagantsniper";
	level.weapons["mosin_nagant_sniper_mp"].allow_default		= 1;
	level.weapons["mosin_nagant_sniper_mp"].classname 			= "sniper";
	level.weapons["mosin_nagant_sniper_mp"].team 				= "allies";
	level.weapons["mosin_nagant_sniper_mp"].clipsize			= 5;
	level.weapons["mosin_nagant_sniper_mp"].limited				= 0;
	level.weapons["mosin_nagant_sniper_mp"].count				= 0;
	level.weapons["mosin_nagant_sniper_mp"].amount				= [[level.setdvar]]("bp_mosin_nagant_sniper_clip", 15, 0, 15);
	level.weapons["mosin_nagant_sniper_mp"].limit				= [[level.setdvar]]("bp_mosin_nagant_sniper_limit", 50, 0, 50);
	level.weapons["mosin_nagant_sniper_mp"].nades				= [[level.setdvar]]("bp_nade_mosin_nagant_sniper", 1, 0, 3);
	level.weapons["mosin_nagant_sniper_mp"].smokes				= [[level.setdvar]]("bp_smoke_mosin_nagant_sniper", 0, 0, 1);	
	

	level.weapons["ppsh_mp"] = spawnstruct();
	level.weapons["ppsh_mp"].server_allowcvar 	= "scr_allow_ppsh";
	level.weapons["ppsh_mp"].client_allowcvar 	= "ui_allow_ppsh";
	level.weapons["ppsh_mp"].allow_default 		= 1;
	level.weapons["ppsh_mp"].classname 			= "mg";
	level.weapons["ppsh_mp"].team 				= "allies";
	level.weapons["ppsh_mp"].clipsize			= 55;
	level.weapons["ppsh_mp"].limited			= 0;
	level.weapons["ppsh_mp"].count				= 0;
	level.weapons["ppsh_mp"].amount				= [[level.setdvar]]("bp_ppsh_clip", 15, 0, 15);
	level.weapons["ppsh_mp"].limit				= [[level.setdvar]]("bp_ppsh_limit", 50, 0, 50);
	level.weapons["ppsh_mp"].nades				= [[level.setdvar]]("bp_nade_ppsh", 1, 0, 3);
	level.weapons["ppsh_mp"].smokes				= [[level.setdvar]]("bp_smoke_ppsh", 0, 0, 1);
	
	
	// German Weapons
	level.weapons["mp40_mp"] = spawnstruct();
	level.weapons["mp40_mp"].server_allowcvar 	= "scr_allow_mp40";
	level.weapons["mp40_mp"].client_allowcvar 	= "ui_allow_mp40";
	level.weapons["mp40_mp"].allow_default 		= 1;
	level.weapons["mp40_mp"].classname 			= "smg";
	level.weapons["mp40_mp"].team 				= "axis";
	level.weapons["mp40_mp"].clipsize			= 32;
	level.weapons["mp40_mp"].limited			= 0;
	level.weapons["mp40_mp"].count				= 0;
	level.weapons["mp40_mp"].amount				= [[level.setdvar]]("bp_mp40_clip", 15, 0, 15);
	level.weapons["mp40_mp"].limit				= [[level.setdvar]]("bp_mp40_limit", 50, 0, 50);
	level.weapons["mp40_mp"].nades				= [[level.setdvar]]("bp_nade_mp40", 1, 0, 3);
	level.weapons["mp40_mp"].smokes				= [[level.setdvar]]("bp_smoke_mp40", 0, 0, 1);
	
	
	level.weapons["kar98k_mp"] = spawnstruct();
	level.weapons["kar98k_mp"].server_allowcvar 	= "scr_allow_kar98k";
	level.weapons["kar98k_mp"].client_allowcvar 	= "ui_allow_kar98k";
	level.weapons["kar98k_mp"].allow_default 		= 1;
	level.weapons["kar98k_mp"].classname 			= "boltaction";
	level.weapons["kar98k_mp"].team 				= "axis";
	level.weapons["kar98k_mp"].clipsize				= 5;
	level.weapons["kar98k_mp"].limited				= 0;
	level.weapons["kar98k_mp"].count				= 0;
	level.weapons["kar98k_mp"].amount				= [[level.setdvar]]("bp_kar98k_clip", 15, 0, 15);
	level.weapons["kar98k_mp"].limit				= [[level.setdvar]]("bp_kar98k_limit", 50, 0, 50);
	level.weapons["kar98k_mp"].nades				= [[level.setdvar]]("bp_nade_kar98k", 1, 0, 3);
	level.weapons["kar98k_mp"].smokes				= [[level.setdvar]]("bp_smoke_kar98k", 0, 0, 1);
	
	
	level.weapons["g43_mp"] = spawnstruct();
	level.weapons["g43_mp"].server_allowcvar 	= "scr_allow_g43";
	level.weapons["g43_mp"].client_allowcvar 	= "ui_allow_g43";
	level.weapons["g43_mp"].allow_default 		= 1;
	level.weapons["g43_mp"].classname 			= "semiautomatic";
	level.weapons["g43_mp"].team 				= "axis";
	level.weapons["g43_mp"].clipsize			= 10;
	level.weapons["g43_mp"].limited				= 0;
	level.weapons["g43_mp"].count				= 0;
	level.weapons["g43_mp"].amount				= [[level.setdvar]]("bp_g43_clip", 15, 0, 15);
	level.weapons["g43_mp"].limit				= [[level.setdvar]]("bp_g43_limit", 50, 0, 50);
	level.weapons["g43_mp"].nades				= [[level.setdvar]]("bp_nade_g43", 1, 0, 3);
	level.weapons["g43_mp"].smokes				= [[level.setdvar]]("bp_smoke_g43", 0, 0, 1);

	level.weapons["kar98k_sniper_mp"] = spawnstruct();
	level.weapons["kar98k_sniper_mp"].server_allowcvar 	= "scr_allow_kar98ksniper";
	level.weapons["kar98k_sniper_mp"].client_allowcvar 	= "ui_allow_kar98ksniper";
	level.weapons["kar98k_sniper_mp"].allow_default 	= 1;
	level.weapons["kar98k_sniper_mp"].classname 		= "sniper";
	level.weapons["kar98k_sniper_mp"].team 				= "axis";
	level.weapons["kar98k_sniper_mp"].clipsize			= 5;
	level.weapons["kar98k_sniper_mp"].limited			= 0;
	level.weapons["kar98k_sniper_mp"].count				= 0;
	level.weapons["kar98k_sniper_mp"].amount			= [[level.setdvar]]("bp_kar98k_sniper_clip", 15, 0, 15);
	level.weapons["kar98k_sniper_mp"].limit				= [[level.setdvar]]("bp_kar98k_sniper_limit", 25, 0, 50);
	level.weapons["kar98k_sniper_mp"].nades				= [[level.setdvar]]("bp_nade_kar98k_sniper", 1, 0, 3);
	level.weapons["kar98k_sniper_mp"].smokes			= [[level.setdvar]]("bp_smoke_kar98k_sniper", 0, 0, 1);
	

	level.weapons["mp44_mp"] = spawnstruct();
	level.weapons["mp44_mp"].server_allowcvar 	= "scr_allow_mp44";
	level.weapons["mp44_mp"].client_allowcvar 	= "ui_allow_mp44";
	level.weapons["mp44_mp"].allow_default 		= 1;
	level.weapons["mp44_mp"].classname 			= "mg";
	level.weapons["mp44_mp"].team 				= "axis";
	level.weapons["mp44_mp"].clipsize			= 30;
	level.weapons["mp44_mp"].limited			= 0;
	level.weapons["mp44_mp"].count				= 0;
	level.weapons["mp44_mp"].amount				= [[level.setdvar]]("bp_mp44_clip", 15, 0, 15);
	level.weapons["mp44_mp"].limit				= [[level.setdvar]]("bp_mp44_limit", 50, 0, 50);
	level.weapons["mp44_mp"].nades				= [[level.setdvar]]("bp_nade_mp44", 1, 0, 3);
	level.weapons["mp44_mp"].smokes				= [[level.setdvar]]("bp_smoke_mp44", 0, 0, 1);

	// Shotguns
	level.weapons["shotgun_mp"] = spawnstruct();
	level.weapons["shotgun_mp"].server_allowcvar 	= "scr_allow_shotgun";
	level.weapons["shotgun_mp"].client_allowcvar 	= "ui_allow_shotgun";
	level.weapons["shotgun_mp"].allow_default 		= 0;
	level.weapons["shotgun_mp"].classname 			= "shotgun";
	level.weapons["shotgun_mp"].team 				= "both";
	level.weapons["shotgun_mp"].clipsize			= 6;
	level.weapons["shotgun_mp"].limited				= 0;
	level.weapons["shotgun_mp"].count				= 0;
	level.weapons["shotgun_mp"].amount				= [[level.setdvar]]("bp_shotgun_clip", 15, 0, 15);
	level.weapons["shotgun_mp"].limit				= [[level.setdvar]]("bp_shotgun_limit", 50, 0, 50);
	level.weapons["shotgun_mp"].nades				= [[level.setdvar]]("bp_nade_shotgun", 1, 0, 3);
	level.weapons["shotgun_mp"].smokes				= [[level.setdvar]]("bp_smoke_shotgun", 1, 0, 1);
	
	// Check Settings
	level.weapons["axis_shotgun_mp"] = spawnstruct();
	level.weapons["axis_shotgun_mp"].server_allowcvar 	= "scr_allow_axis_shotgun";
	level.weapons["axis_shotgun_mp"].client_allowcvar 	= "ui_allow_axis_shotgun";
	level.weapons["axis_shotgun_mp"].allow_default 		= 0;
	level.weapons["axis_shotgun_mp"].classname 			= "shotgun";
	level.weapons["axis_shotgun_mp"].team 				= "axis";
	level.weapons["axis_shotgun_mp"].clipsize			= 6;
	level.weapons["axis_shotgun_mp"].limited			= 0;
	level.weapons["axis_shotgun_mp"].count				= 0;
	level.weapons["axis_shotgun_mp"].amount				= [[level.setdvar]]("bp_axis_shotgun_clip", 15, 0, 15);
	level.weapons["axis_shotgun_mp"].limit				= [[level.setdvar]]("bp_axis_shotgun_limit", 0, 0, 50);
	level.weapons["axis_shotgun_mp"].nades				= [[level.setdvar]]("bp_nade_axis_shotgun", 1, 0, 3);
	level.weapons["axis_shotgun_mp"].smokes				= [[level.setdvar]]("bp_smoke_axis_shotgun", 0, 0, 1);
	
	level.weapons["axis_sf_shotgun_mp"] = spawnstruct();
	level.weapons["axis_sf_shotgun_mp"].server_allowcvar 	= "scr_allow_axis_sf_shotgun";
	level.weapons["axis_sf_shotgun_mp"].client_allowcvar	= "ui_allow_axis_sf_shotgun";
	level.weapons["axis_sf_shotgun_mp"].allow_default 		= 0;
	level.weapons["axis_sf_shotgun_mp"].classname 			= "shotgun";
	level.weapons["axis_sf_shotgun_mp"].team 				= "axis";
	level.weapons["axis_sf_shotgun_mp"].clipsize			= 6;
	level.weapons["axis_sf_shotgun_mp"].limited				= 0;
	level.weapons["axis_sf_shotgun_mp"].count				= 0;
	level.weapons["axis_sf_shotgun_mp"].amount				= [[level.setdvar]]("bp_axis_sf_shotgun_clip", 15, 0, 15);
	level.weapons["axis_sf_shotgun_mp"].limit				= [[level.setdvar]]("bp_axis_sf_shotgun_limit", 0, 0, 50);
	level.weapons["axis_sf_shotgun_mp"].nades				= [[level.setdvar]]("bp_nade_axis_sf_shotgun", 1, 0, 3);
	level.weapons["axis_sf_shotgun_mp"].smokes				= [[level.setdvar]]("bp_smoke_axis_sf_shotgun", 1, 0, 1);
	
	level.weapons["allied_shotgun_mp"] = spawnstruct();
	level.weapons["allied_shotgun_mp"].server_allowcvar 	= "scr_allow_allied_shotgun";
	level.weapons["allied_shotgun_mp"].client_allowcvar 	= "ui_allow_allied_shotgun";
	level.weapons["allied_shotgun_mp"].allow_default 		= 0;
	level.weapons["allied_shotgun_mp"].classname 			= "shotgun";
	level.weapons["allied_shotgun_mp"].team 				= "allies";
	level.weapons["allied_shotgun_mp"].clipsize				= 6;
	level.weapons["allied_shotgun_mp"].limited				= 0;
	level.weapons["allied_shotgun_mp"].count				= 0;
	level.weapons["allied_shotgun_mp"].amount				= [[level.setdvar]]("bp_allied_shotgun_clip", 15, 0, 15);
	level.weapons["allied_shotgun_mp"].limit				= [[level.setdvar]]("bp_allied_shotgun_limit", 0, 0, 50);
	level.weapons["allied_shotgun_mp"].nades				= [[level.setdvar]]("bp_nade_allied_shotgun", 1, 0, 3);
	level.weapons["allied_shotgun_mp"].smokes				= [[level.setdvar]]("bp_smoke_allied_shotgun", 0, 0, 1);
	
	level.weapons["allied_sf_shotgun_mp"] = spawnstruct();
	level.weapons["allied_sf_shotgun_mp"].server_allowcvar 	= "scr_allow_allied_sf_shotgun";
	level.weapons["allied_sf_shotgun_mp"].client_allowcvar 	= "ui_allow_allied_sf_shotgun";
	level.weapons["allied_sf_shotgun_mp"].allow_default 	= 0;
	level.weapons["allied_sf_shotgun_mp"].classname 		= "shotgun";
	level.weapons["allied_sf_shotgun_mp"].team 				= "allies";
	level.weapons["allied_sf_shotgun_mp"].clipsize			= 6;
	level.weapons["allied_sf_shotgun_mp"].limited			= 0;
	level.weapons["allied_sf_shotgun_mp"].count				= 0;
	level.weapons["allied_sf_shotgun_mp"].amount			= [[level.setdvar]]("bp_allied_sf_shotgun_clip", 15, 0, 15);
	level.weapons["allied_sf_shotgun_mp"].limit				= [[level.setdvar]]("bp_allied_sf_shotgun_limit", 0, 0, 50);
	level.weapons["allied_sf_shotgun_mp"].nades				= [[level.setdvar]]("bp_nade_allied_sf_shotgun", 1, 0, 3);
	level.weapons["allied_sf_shotgun_mp"].smokes			= [[level.setdvar]]("bp_smoke_allied_sf_shotgun", 1, 0, 1);	
	
	
	// Grenades
	level.weapons["cooked_grenade_american_mp"] = spawnstruct();
	level.weapons["cooked_grenade_american_mp"].server_allowcvar = "scr_allow_cooked_nades";
	level.weapons["cooked_grenade_american_mp"].client_allowcvar = "ui_allow_cooked_nades";
	level.weapons["cooked_grenade_american_mp"].allow_default = 0;
	level.weapons["cooked_grenade_american_mp"].classname = "nade";
	level.weapons["cooked_grenade_american_mp"].team = "allies";	
	level.weapons["cooked_grenade_american_mp"].limit = 999;
	level.weapons["cooked_grenade_american_mp"].limited	= 0;
	
	level.weapons["cooked_grenade_british_mp"] = spawnstruct();
	level.weapons["cooked_grenade_british_mp"].server_allowcvar = "scr_allow_cooked_nades";
	level.weapons["cooked_grenade_british_mp"].client_allowcvar = "ui_allow_cooked_nades";
	level.weapons["cooked_grenade_british_mp"].allow_default = 0;
	level.weapons["cooked_grenade_british_mp"].classname = "nade";
	level.weapons["cooked_grenade_british_mp"].team = "allies";
	level.weapons["cooked_grenade_british_mp"].limit = 999;
	level.weapons["cooked_grenade_british_mp"].limited = 0;
	
	level.weapons["cooked_grenade_russian_mp"] = spawnstruct();
	level.weapons["cooked_grenade_russian_mp"].server_allowcvar = "scr_allow_cooked_nades";
	level.weapons["cooked_grenade_russian_mp"].client_allowcvar = "ui_allow_cooked_nades";
	level.weapons["cooked_grenade_russian_mp"].allow_default = 0;
	level.weapons["cooked_grenade_russian_mp"].classname = "nade";
	level.weapons["cooked_grenade_russian_mp"].team = "allies";
	level.weapons["cooked_grenade_russian_mp"].limit = 999;
	level.weapons["cooked_grenade_russian_mp"].limited = 0;
	
	level.weapons["cooked_grenade_german_mp"] = spawnstruct();
	level.weapons["cooked_grenade_german_mp"].server_allowcvar = "scr_allow_cooked_nades";
	level.weapons["cooked_grenade_german_mp"].client_allowcvar = "ui_allow_cooked_nades";
	level.weapons["cooked_grenade_german_mp"].allow_default = 0;
	level.weapons["cooked_grenade_german_mp"].classname = "nade";	
	level.weapons["cooked_grenade_german_mp"].team = "axis";
	level.weapons["cooked_grenade_german_mp"].limit = 999;
	level.weapons["cooked_grenade_german_mp"].limited = 0;
	
	level.weapons["fraggrenade"] = spawnstruct();
	level.weapons["fraggrenade"].server_allowcvar = "scr_allow_fraggrenades";
	level.weapons["fraggrenade"].client_allowcvar = "ui_allow_fraggrenades";
	level.weapons["fraggrenade"].allow_default = 1;
	level.weapons["fraggrenade"].classname = "nade";
	level.weapons["fraggrenade"].team = "both";
	level.weapons["fraggrenade"].limit = 999;
	level.weapons["fraggrenade"].limited = 0;

	level.weapons["smokegrenade"] = spawnstruct();
	level.weapons["smokegrenade"].server_allowcvar = "scr_allow_smokegrenades";
	level.weapons["smokegrenade"].client_allowcvar = "ui_allow_smokegrenades";
	level.weapons["smokegrenade"].allow_default = 1;
	level.weapons["smokegrenade"].classname = "smoke";
	level.weapons["smokegrenade"].team = "both";
	level.weapons["smokegrenade"].limit = 999;
	level.weapons["smokegrenade"].limited = 0;
	
	level.weapons["smoke_grenade_vip_mp"] = spawnstruct();
	level.weapons["smoke_grenade_vip_mp"].server_allowcvar = "scr_allow_smokegrenades";
	level.weapons["smoke_grenade_vip_mp"].client_allowcvar = "ui_allow_smokegrenades";
	level.weapons["smoke_grenade_vip_mp"].allow_default = 1;
	level.weapons["smoke_grenade_vip_mp"].classname = "smoke";
	level.weapons["smoke_grenade_vip_mp"].team = "both";
	level.weapons["smoke_grenade_vip_mp"].limit = 999;
	level.weapons["smoke_grenade_vip_mp"].limited = 0;
	

	// Pistols
	level.weapons["colt_mp"] = spawnstruct();
	level.weapons["colt_mp"].classname = "pistol";
	level.weapons["colt_mp"].team = "allies";
	level.weapons["colt_mp"].clipsize = 7;
	level.weapons["colt_mp"].limit = 999;
	level.weapons["colt_mp"].limited = 0;
	level.weapons["colt_mp"].count = 0;
	level.weapons["colt_mp"].amount	= [[level.setdvar]]("bp_colt_clip", 15, 0, 15);

	level.weapons["webley_mp"] = spawnstruct();
	level.weapons["webley_mp"].classname = "pistol";
	level.weapons["webley_mp"].team = "allies";
	level.weapons["webley_mp"].clipsize = 6;
	level.weapons["webley_mp"].limit = 999;
	level.weapons["webley_mp"].limited = 0;
	level.weapons["webley_mp"].count = 0;
	level.weapons["webley_mp"].amount = [[level.setdvar]]("bp_webley_clip", 15, 0, 15);

	level.weapons["TT30_mp"] = spawnstruct();
	level.weapons["TT30_mp"].classname = "pistol";
	level.weapons["TT30_mp"].team = "allies";
	level.weapons["TT30_mp"].clipsize = 8;
	level.weapons["TT30_mp"].limit = 999;
	level.weapons["TT30_mp"].limited = 0;
	level.weapons["TT30_mp"].count = 0;
	level.weapons["TT30_mp"].amount	= [[level.setdvar]]("bp_TT30_clip", 15, 0, 15);

	level.weapons["luger_mp"] = spawnstruct();
	level.weapons["luger_mp"].classname = "pistol";
	level.weapons["luger_mp"].team = "axis";
	level.weapons["luger_mp"].clipsize = 8;
	level.weapons["luger_mp"].limit = 999;
	level.weapons["luger_mp"].limited = 0;
	level.weapons["luger_mp"].count = 0;
	level.weapons["luger_mp"].amount = [[level.setdvar]]("bp_luger_clip", 15, 0, 15);
	
	// VIP Weapons
	level.weapons["colt_vip_mp"] = spawnstruct();
	level.weapons["colt_vip_mp"].classname = "pistol";
	level.weapons["colt_vip_mp"].team = "allies";
	level.weapons["colt_vip_mp"].clipsize = 7;
	level.weapons["colt_vip_mp"].limit = 999;
	level.weapons["colt_vip_mp"].limited = 0;
	level.weapons["colt_vip_mp"].count = 0;
	level.weapons["colt_vip_mp"].amount	= [[level.setdvar]]("bp_colt_clip", 15, 0, 15);
	
	level.weapons["webley_vip_mp"] = spawnstruct();
	level.weapons["webley_vip_mp"].classname = "pistol";
	level.weapons["webley_vip_mp"].team = "allies";
	level.weapons["webley_vip_mp"].clipsize = 6;
	level.weapons["webley_vip_mp"].limit = 999;
	level.weapons["webley_vip_mp"].limited = 0;
	level.weapons["webley_vip_mp"].count = 0;
	level.weapons["webley_vip_mp"].amount = [[level.setdvar]]("bp_webley_clip", 15, 0, 15);
	
	level.weapons["TT30_vip_mp"] = spawnstruct();
	level.weapons["TT30_vip_mp"].classname = "pistol";
	level.weapons["TT30_vip_mp"].team = "allies";
	level.weapons["TT30_vip_mp"].clipsize = 8;
	level.weapons["TT30_vip_mp"].limit = 999;
	level.weapons["TT30_vip_mp"].limited = 0;
	level.weapons["TT30_vip_mp"].count = 0;
	level.weapons["TT30_vip_mp"].amount	= [[level.setdvar]]("bp_TT30_clip", 15, 0, 15);
	
	level.weapons["luger_vip_mp"] = spawnstruct();
	level.weapons["luger_vip_mp"].classname = "pistol";
	level.weapons["luger_vip_mp"].team = "axis";
	level.weapons["luger_vip_mp"].clipsize = 8;
	level.weapons["luger_vip_mp"].limit = 999;
	level.weapons["luger_vip_mp"].limited = 0;
	level.weapons["luger_vip_mp"].count = 0;
	level.weapons["luger_vip_mp"].amount = [[level.setdvar]]("bp_luger_clip", 15, 0, 15);
	
	// Set Weapon Allowed
	for(i = 0; i < level.weaponnames.size; i++)
	{
		weaponname = level.weaponnames[i];

		if(getCvar(level.weapons[weaponname].server_allowcvar) == "")
		{
			level.weapons[weaponname].allow = level.weapons[weaponname].allow_default;
			setCvar(level.weapons[weaponname].server_allowcvar, level.weapons[weaponname].allow);
		}
		else
			level.weapons[weaponname].allow = getCvarInt(level.weapons[weaponname].server_allowcvar);
	}
}